package com.icongyou.enterprise.talent_analysis.mapper;

import com.icongyou.enterprise.talent_analysis.entity.WordCloudCache;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 词云图缓存Mapper
 */
@Mapper
public interface WordCloudCacheMapper {
    
    /**
     * 根据学生ID查询词云图缓存
     */
    WordCloudCache selectByStudentId(@Param("studentId") String studentId);
    
    /**
     * 插入词云图缓存
     */
    int insert(WordCloudCache cache);
    
    /**
     * 更新词云图缓存
     */
    int update(WordCloudCache cache);
    
    /**
     * 删除词云图缓存
     */
    int deleteByStudentId(@Param("studentId") String studentId);
}
